package com.hyjx.framework.component.customquery;

import java.util.Comparator;

public class SortConditionConfig implements Comparator {
    
    @Override
    public int compare(Object o1, Object o2) {
        ConditionConfig cc1 = (ConditionConfig) o1;
        ConditionConfig cc2 = (ConditionConfig) o2;
        return cc1.getOrder() - cc2.getOrder();
    }
    
}
